$duration: 1s;
$offset: 36px;

.swiper-enter-active {
  transition:
    opacity $duration ease,
    transform $duration ease;
  transform: translateY(0%);
}
.swiper-leave-active {
  transition:
    opacity $duration ease,
    transform $duration ease;
}

.swiper-enter-from {
  position: absolute;
  opacity: 0;
  transform: translateY($offset);
}
.swiper-leave-to {
  position: absolute;
  opacity: 0;
  transform: translateY(-$offset);
}
